WP_Defender\Component\Scan B

Total Complexity 91
Dependencies 12
Dependents 6
Total lines 529
Lines of code 367
Logical lines of code 194
Comment lines 106
Methods 18
Properties 3

Methods 18

Method Rating Maintainability Complexity Lines of code
attach_plugin_vulnerability_warning()
B
35 22 81
is_any_scan_active()
A
53 11 24
process()
A
41 8 62
clear_logs()
A
44 8 46
get_tasks()
A
53 9 26
display_vulnerability_warnings()
S
51 6 26
update_idle_scan_status()
S
57 4 17
reindex_ignored_issues()
S
60 4 13
__construct()
S
62 3 12
clean_up()
S
64 3 10
indicator_issue_count()
S
66 3 8
has_lock()
S
64 3 10
cancel_a_scan()
S
68 2 8
advanced_scan_actions()
S
77 1 4
remove_lock()
S
80 1 3
create_lock()
S
79 1 3
delete_interim_data()
S
68 1 8
show_plugin_admin_styles()
S
72 1 6